<script type="text/javascript">
<!--
  //app.loadCatalogDataFrom('<?=$url?>');
//-->
</script>
<table class='catalog_table' cellpadding="3px">
	<thead>
	    <tr><th colspan="<?= $fieldsNum ?>" class='options'>Menú con opciones generales</th></tr>
		<tr class='headers'>
		<?php
		  foreach($headers as $head){
		  	echo "<th>".ucfirst($head)."</th>";
		  } 
		?>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<td colspan="<?= $fieldsNum ?>"><?= $helper->select(array(10,20,30,40),0,FALSE,array());?> | Página <input value='1' style='width: 20px'/> de <?= $total_pages?> </td>
		</tr>
	</tfoot>
	<tbody>
	    <?= $data?>
	</tbody>
</table>